<?php

namespace App\Events;

use App\Events\Event;
use App\Task;
use App\User;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;

class GetPrivilege extends Event
{
    use SerializesModels;

    public $user;
    public $auth_level;

    public function __construct(User $user, $auth_level)
    {
        $this->user = $user;
        $this->auth_level = $auth_level;
    }

    public function broadcastOn()
    {
        return [];
    }
}
